package com.chrray.position.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class LocationDTO {

    @ApiModelProperty(value = "当前纬度,火星坐标系")
    @NotNull(message = "纬度不能为空")
    private Double lat;

    @ApiModelProperty(value = "当前经度,火星坐标系")
    @NotNull(message = "经度不能为空")
    private Double lon;
}
